﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

using Microsoft.Xna.Framework;

namespace CorporationWars
{
    [Serializable]
    public class InfoTechNode : BaseNode
    {
        public InfoTechNode(Game1 game)
            : base(game,"Information Technology", 0)
        {
            PersonelRequired = new List<SalaryLevels>(new SalaryLevels[] { SalaryLevels.Junior, SalaryLevels.Regular, SalaryLevels.Senior });
            HasExternalAccess = true;
            ShortName = "I.T.";
            AddButton(new UIButton(game) { TextureAsset = "Textures/HUD/Buttons/SoftwareAdmin", Color = Color.Silver, HoverColor = Color.White, MouseDownColor = Color.Red, Name = "Software", OnClick = ButtonClicked, ToolTipText = "Admin Software" });
            AddButton(new UIButton(game) { TextureAsset = "Textures/HUD/Buttons/CorpHacker", Color = Color.Silver, HoverColor = Color.White, MouseDownColor = Color.Red, Name = "CorporateHack", OnClick = ButtonClicked, ToolTipText = "Corp Hack" });
            AddButton(new UIButton(game) { TextureAsset = "Textures/HUD/Buttons/HiredHacker", Color = Color.Silver, HoverColor = Color.White, MouseDownColor = Color.Red, Name = "HiredHacker", OnClick = ButtonClicked, ToolTipText = "Use Hired Hacker" });
            AddButton(new UIButton(game) { TextureAsset = "Textures/HUD/Buttons/NodeManagement", Color = Color.Silver, HoverColor = Color.White, MouseDownColor = Color.Red, Name = "Connections", OnClick = ButtonClicked, ToolTipText = "Manage Node Connections" });
            Description = "The corporations dedicated I.T. team are located here, protecting all assets.";
            Software.Add(CorporationWars.Software.CreateBasicFirewall(Game));
        }
    }
}
